public class Seat {
    private int row;
    private int number;
    private boolean isSold;

    public Seat(int row, int number) {
        this.row = row;
        this.number = number;
        this.isSold = false;
    }

    public int getRow() { return row; }
    public int getNumber() { return number; }
    public boolean isSold() { return isSold; }
    public void setSold(boolean sold) { isSold = sold; }
}       